//
//  MyService.h
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/12.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MyService : NSObject

/**
 获取个人信息

 @param complete call back
 */
+ (void)fetchUserInfoCompletion:(void(^)(id responseObj))complete;


/**
 提交认证请求

 @param type 认证类型
 @param complete call back
 */
+ (void)commitVerifyRequestWithType:(NSInteger)type params:(id)params completion:(void(^)(BOOL success, id responseObj))complete;


/**
 获取我的课时券

 @param result call back
 */
+ (void)fetchLessonTicketWithResult:(void(^)(id responseObj))result;


/**
 获取我的积分

 @param result call back
 */
+ (void)fetchMyScoresWithResult:(void(^)(id responseObj))result;


/**
 积分兑换

 @param params params
 @param complete call back
 */
+ (void)exchangeWithParams:(id)params completion:(void(^)(BOOL success))complete;

@end

NS_ASSUME_NONNULL_END
